feat(xiao): add Seeed XIAO STM32C5 board support - #3048
Conversation
c6bd5f4 to
b9e53e9
Compare
|
Hi @fpistm, thank you for the detailed first review.
|
|
Hi, thanks for the update. As the board is not yet available. It would be fine to keep here only the board support addition and open separate PR for specific feature. I will try on my side and a Nucleo C562RE |
|
Hi @fpistm, understood. I will open an issue for this. Although the board does not yet have a public product page, I can provide test reports to demonstrate the product and its validation status. Our product manager is working to ensure Arduino platform support is ready as early as possible for our users. If helpful, I would be glad to share this information with you. The current planned public launch date is August 29. Thank you very much for your support. |
|
I also noticed that the CI workflows for the latest update are awaiting approval. Could you please approve them when convenient, so the checks can run? :) |
|
Thanks for the update. Will check this tomorrow. |
|
Hello@fpistm, could you please check it? Our board is approaching the release date. Thank you. :) |
|
Hi @cumin777 |
|
Hi @cumin777 |
b9e53e9 to
619814b
Compare
|
Hi @fpistm, sorry for the delayed follow-up. I was handling other release-related work and did not track the PR closely enough. Thank you for the guidance. I have now split the changes as requested:
I will continue separating any remaining shared functionality into focused PRs. Thank you for your patience and for reviewing this work. |
|
Follow-up on the split: #3060 now contains the independent HAL v2 UART helper compatibility fix, and #3061 contains the generic UF2 upload recipe. #3048 remains board-only. The XIAO C5 UF2 upload path uses #3061 plus the |
|
Updated the board-only PR with the physical BOOT0/user button from the latest board definition: PH2 is now exposed as an additional Arduino digital pin, and the standard STM32 core However, during my actual testing, even when I pressed the boot button and reset it, I was unable to trigger the built-in boot mode of the STM32. This also happened when we used the NUCLEO-C5A3ZG board. I'm not sure if this is a bug or if my usage method is incorrect. |
Summary
This PR adds the board definition and variant support for the Seeed XIAO STM32C5.
This PR implements the following features:
B1_BTN/USER_BTNmacrosMotivation
Keep this PR limited to board support while exposing all physically available board I/O. The user button is connected to PH2/BOOT0 and is active low during normal operation; it is also sampled by the MCU during reset, so holding it while powering on or resetting may affect boot behavior.
The USB HAL v2 implementation, UART compatibility fix, and UF2 upload tooling are reviewed in separate PRs (#3059, #3060 and #3061). The UF2 upload path additionally depends on Arduino_Tools #122 and a subsequent STM32Tools package release/index update.
Validation
The board variant has been compiled and exercised on Seeed XIAO STM32C5 with GPIO, UART, SPI3, I2C, onboard IMU and the physical PH2 button mapping.
Code formatting
Closing issues
N/A